<%@taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>

<div>
	<ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.userPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ViewDeleteUser.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>

</div><br />


<c:forEach var = "listElement" items = "${requestScope.userList}">
<br/>
<table class="newsadmin">
    <tr class="newshead">
        <td>Name:${listElement.name}</td>
      
    </tr>
    <tr class="newsdes">
         <td>Username:${listElement.username}</td>
        </tr>
    <tr class="newsdes">
        <td>Email:${listElement.email}</td>
   
      </tr>
    <tr class="newsbottom">
    
    <td>
<!--     	<input type="hidden" value="deluser" name="ajaxattempt" id="hiddendelUser" />  -->
			  <a href="<c:url value="/DeleteUser.do?id=${listElement.idUser}"/>"><bean:message key="Deluser.label"/></a>
    </td>
    </tr>
 	</table>
<br/>
</c:forEach>


